const koaCompose = require('koa-compose')
const koaRouter = require('koa-router');
const router = koaRouter();

const controls = require('../controls');

module.exports = () => {

    router.get('./frontend',ctx => {
        ctx.body = '88888'
    });
    
    return koaCompose([router.routes(),router.allowedMethods()]);

}